﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.IDAL
{
    public interface ITrainingHistoryDAL
    {
        DataTable Search(int? intTrainHisId, string strQueryString, int? intCreateBy);

        void Insert(string strQueryString, string strCouseName, string strInstituteName, string strLocationName
                    , Nullable<DateTime> strStartDate, Nullable<DateTime> strEndDate, string strRemark, int? intCreateBy);

        void Update(string strQueryString, string strCouseName, string strInstituteName, string strLocationName
                    , Nullable<DateTime> strStartDate, Nullable<DateTime> strEndDate, string strRemark, int? intCreateBy, int? intTrainHisId);

        void Delete(int? intCreateBy, int? intTrainHisId, string strQueryString);

        bool CheckValueSubmit(int? intTrainHisId);

        bool CheckValueDelete(int? intTrainHisId);

        DataTable LoadInstitutes();
    }
}